<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/6/20
 * Time: 10:40
 */

namespace app\api\Model;


use think\Model;

class ErrorLogModel extends Model
{
    protected $name = "error_log";
    protected $autoWriteTimestamp = true;
    static private $instance;

    static public function getInstance(){
        if (!self::$instance instanceof self) {
            self::$instance = new self();
        }
        return self::$instance;
    }

}